package com.tulele.vtool.service;

import com.tulele.vtool.model.NewLookArticleCountInfo;
import com.tulele.vtool.model.combinedEntity.CurDayNewLookStatisInfo;

public interface INewLookArticleCountInfoService {

    /**
     * 获取用户当天新查看文章统计信息
     * @param otherUserId
     * @return
     */
    CurDayNewLookStatisInfo getCurDayNewLookStatisInfo(Integer otherUserId);

    /**
     * 查询新查看文章的信息
     * @param newLookArticleCountInfo
     * @return
     */
    NewLookArticleCountInfo getNewLookArticleInfo(NewLookArticleCountInfo newLookArticleCountInfo);

    /**
     * 增加新查看文章的信息
     * @param newLookArticleCountInfo
     * @return
     */
    int recordNewLookArticleInfo(NewLookArticleCountInfo newLookArticleCountInfo);

    /**
     * 更新新查看文章的信息
     * @param newLookArticleCountInfo
     * @return
     */
    int modifyNewLookArticleInfo(NewLookArticleCountInfo newLookArticleCountInfo);

    /**
     * 清空用户新查看文章的次数信息
     * @param newLookArticleCountInfo
     * @return
     */
    int modifyUserNewLookArticleInfo(NewLookArticleCountInfo newLookArticleCountInfo);

}
